<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:h="http://java.sun.com/jsf/html">

<head>
	<title>CLASSIFICADOS</title>
</head>
<f:view>
<h:body>

<h2>Classificados on-line</h2>
<p>
	<h:outputText value="#{acesso.msg}" ></h:outputText>
	<h:outputText value="#{cad.msg}" ></h:outputText>
</p>
Informe seu login e senha.
	
		<h:form>
			<h:panelGrid border="1" columns="2">
				<h:outputText value="Login: "></h:outputText>
				<h:inputText value="#{acesso.login}"></h:inputText>
				<h:outputText value="Senha: "></h:outputText>
				<h:inputSecret value="#{acesso.senha}"></h:inputSecret>
			</h:panelGrid>
			<h:commandButton value="Entrar" action="#{acesso.autentica}"></h:commandButton>
		</h:form>

		<h:form>
			<h:commandLink action="cad">
				<h:outputText value="Efetuar cadastro!"></h:outputText>
			</h:commandLink>
		</h:form>
</h:body>
</f:view>
</html>